import Vue from 'vue'
import App from './App.vue'
import router from '@/router/index.js'
import store from '@/store'

import TypeNav from '@/pages/Home/TypeNav'
import { reqCategoryList } from './api'

//引入MockServer.js----mock数据
import "@/mock/mockServe";
//引入swiper样式
import "swiper/css/swiper.css";
Vue.component(TypeNav.name, TypeNav)

//测试接口是否能用
// reqCategoryList();

Vue.config.productionTip = false

new Vue({
    render: h => h(App),
    router,
    store
}).$mount('#app')